/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Persistencia.Entidades;

import java.io.Serializable;


/**
 *
 * @author Administrador
 */

public class PagoBoletasPK implements Serializable {
    
    private int numPago;
   
    private int numBoleta;

    public PagoBoletasPK() {
    }

    public PagoBoletasPK(int numPago, int numBoleta) {
        this.numPago = numPago;
        this.numBoleta = numBoleta;
    }

    public int getNumPago() {
        return numPago;
    }

    public void setNumPago(int numPago) {
        this.numPago = numPago;
    }

    public int getNumBoleta() {
        return numBoleta;
    }

    public void setNumBoleta(int numBoleta) {
        this.numBoleta = numBoleta;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (int) numPago;
        hash += (int) numBoleta;
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof PagoBoletasPK)) {
            return false;
        }
        PagoBoletasPK other = (PagoBoletasPK) object;
        if (this.numPago != other.numPago) {
            return false;
        }
        if (this.numBoleta != other.numBoleta) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "Persistencia.Entidades.PagoBoletasPK[numPago=" + numPago + ", numBoleta=" + numBoleta + "]";
    }

}
